module.exports = {
    "mcpTool": {
        "GenerateGradientImage": async (focusany, data) => {
            const imageBase64 = await focusany.callPage('GenerateGradientImage', data, {
                // autoClose: false,
            });
            return {
                content: [
                    {
                        type: "text",
                        text: "已生成渐变图像"
                    },
                    {
                        type: "image",
                        data: imageBase64
                    }
                ]
            }
        }
    }
}

